﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MindASPCoreWebAPI.PoModel.SystemManager
{
    [Table("admin_db")]
    public class AdminModel
    {
        /// <summary>
        /// 管理员id
        /// </summary>
        [Key]
        public int admin_id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        /// 字典主键
        /// </summary>
        public int dic_id { get; set; }
        /// <summary>
        /// 管理员显示名称
        /// </summary>
        public string  admin_login_name { get; set; }
        /// <summary>
        /// 管理员账号
        /// </summary>
        public string  admin_name { get; set; }
        /// <summary>
        /// 管理员密码
        /// </summary>
        public string  admin_pwd { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int role_id { get; set; }
        /// <summary>
        /// 管理员状态
        /// </summary>
        public bool admin_status { get; set; }
    }
}
